<template>
	<view class="search">
		<uni-search-bar @confirm="search" v-model="searchValue" @blur="blur" @focus="focus" @input="input"
			@cancel="cancel" @clear="clear" placeholder="搜索">
		</uni-search-bar>
	</view>
</template>

<script>
	export default {
		name:"mysearch",
		data() {
			return {
				searchValue:"", //输入框的内容
			};
		},
		methods:{
			search(){ // 回车搜索
				
			},
			blur(){ // 失去焦点
				
			},
			focus(){ //获取焦点
				
			},
			input(){ //输入变化触发
				
			},
			cancel(){ // 区销售
				
			},
			clear(){ // 清空
				
			}
		}
	}
</script>

<style lang="scss">
.search{
	background-color: #c00;
}
</style>